package demo.service;

import com.alipay.sofa.runtime.api.annotation.SofaService;
import com.alipay.sofa.runtime.api.annotation.SofaServiceBinding;
import org.springframework.stereotype.Service;

@Service
@SofaService(uniqueId = "ticket", interfaceType = TicketService.class, bindings = {
        @SofaServiceBinding(bindingType = "bolt")
} )
public class TicketServiceImpl implements TicketService{
    @Override
    public String getTicket() {
        return "《长津湖》";
    }
}
